home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-08-31 | 3.4 KB | 82 lines | [TEXT/ttxt] |
- What's new in v1.40 of Jim's CDEFs
- ------------------------------------------------------------------------------
- This is the 5th release of these control definitions. An amazing number of
- people have given me feedback on this collection, I apologize to them because
- I have failed to keep an accurate list of people to notify - when it passed
- 100, I lost track.
-
- But thanks for the feedback - it has been very much appreciated.
-
- There have been many changes since I posted v1.30...
-
- 0. The ID's of all the CDEFs have changed - increased by 1000 to get them
- out of the range reserved by Apple.
-
- 1. In this release, I got REALLY tired of gray backgrounds in dialogs. I
- have been seeing too many variations in Mac applications & System software.
- I've been spending too much time in Windows and OS/2, and perhaps it is
- because I live in Seattle... the gray dialogs are starting to look like
- the sky up here...
-
- Anyway, I still prefer the good old white background in Macintosh dialogs,
- but I DO like a "3D effect".
-
- So, I made most of the controls capable of a VERY subtle "3D effect" even
- when on a white background.
-
- 2. I finally purchased a Power Mac (love it!) and have delved into the
- mysteries of "FAT" code resources.
-
- All of the controls in the demoCDEF application (and the app itself) are
- now "FAT". To be precise, the CDEFs are "SAFE, FAT and SHRINKING" code
- resources produced with Symantec 8.0.1.
-
- Great job Colen!!
-
- 3. I finally did some real work on the "cdef3D" (3D Buttons) CDEF. It
- started life as a "quick & dirty" example, but I never really liked it.
-
- Square-edged buttons look too much like those "other platforms" and do
- not work well with the oval outlines for default buttons on the Mac.
-
- The push button in "3D Buttons" is now just like the standard oval buttons
- on the Mac, but with some subtle 3D shading. They appear to work just
- fine with the default button outline.
-
- By default, these draw in black & white with gray shadows, but a 'cctb'
- resource can be used to color them, just like the standard CDEF 0. If
- you really want a colored button, add a 'cctb' resource (or change the
- source code).
-
- If you want a button that matches the background color of the window
- it appears in (a gray button...), use variation code 4.
-
- NOTE: Variation 4 used to be for "Tog Buttons". That control exists
- now as a separate CDEF id=1104.
-
- Radio buttons have the new "squishy" look as seen in the Develop 15
- article.
-
- There is also a compile switch that will produce a checkBox variation with
- a "real looking" check mark rather than a simple 'X' in the box. CDEF id=0
- has the "real" check mark while CDEF id=1107 has the normal looking checkbox.
- Ditto for rectangular buttons - I have included a rectangular button as
- CDEF id=1111.
-
- 4. I added a more versatile "Slider" control. This one works as either a
- vertical or horizontal control, will accept any minimum/maximum values
- and has normal drawing for the body & thumb of the control rather than
- inline bitmaps.
-
- If you don't like the appearance, simply change the way it draws, it is
- pretty straight forward code - as I said, no funky inline bitmaps.
-
- 5. Added "DeviceLoop" drawing to some of the controls to insure that
- they draw better when spanning multiple devices of differing bit
- depths. This works in System 6 too.
-
- 6. I have cleaned up the code to the point that the CDEF's can be built
- with ThinkC 7, Symantec C 8.0.1, Metrowerks C (68k or PPC) or MPW C.
-
- See the "About building CDEFs" document for more information.
-